<?php
/**
 *
 *
 */

$base_folder = "water";

if (strpos($base_folder, '/') === FALSE){
	if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
	{
		$base_folder = realpath(dirname(__FILE__)).'/'.$base_folder;
	}
}
else{
	// Swap directory separators to Unix style for consistency
	$base_folder = str_replace("\\", "/", $base_folder);
}

if(!defined('BASE_FOLDER')){
	define('BASE_FOLDER', $base_folder);
}

?>